/**
 * 框架头部
 */
Ext.define('Skood.view.Header',{
	extend:'Ext.Container',
	xtype:'appHeader',
	//alias:'widget.appHeader',
	id: 'app-header',
	height: 52,
    layout: {
        type: 'hbox',
        align: 'middle'
    },
	initComponent:function(){
		var me = this;
		this.items = [{
            xtype: 'component',
            id: 'app-header-title',
            html: 'SKOOD开发平台',
            flex: 1
        }];

        /*if (!Ext.getCmp('options-toolbar')) {
            this.items.push({
                xtype: 'themeSwitcher'
            });
        }*/
		me.callParent(arguments);
	}
});